package com.base;

import java.lang.management.ManagementFactory;

/**
 * @author: sun.hongliang
 * @create: 2018/12/26 15:17
 */
public class JVMInfo {
    public static void main(String[] args) {
        // 启动 JStack 进程
        String name = ManagementFactory.getRuntimeMXBean().getName();
        System.out.println(name);
    }
}
